package com.ruoyi.business.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 转子查询对象 shaftspecifications
 * 
 * @author ruoyi
 * @date 2025-03-19
 */
public class Shaftspecifications extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 编号（字符串类型） */
    @Excel(name = "编号", readConverterExp = "字=符串类型")
    private String code;

    /** 分类 */
    @Excel(name = "分类")
    private String category;

    /** 品牌 */
    @Excel(name = "品牌")
    private String brand;

    /** 型号 */
    @Excel(name = "型号")
    private String model;

    /** 图片路径 */
    private String image;

    /** 铁芯粗 */
    @Excel(name = "铁芯粗")
    private String coreDiameter;

    /** 总长 */
    @Excel(name = "总长")
    private String totalLength;

    /** 轴承距离 */
    @Excel(name = "轴承距离")
    private String bearingDistance;

    /** 前轴承位 */
    @Excel(name = "前轴承位")
    private String frontBearing;

    /** 后轴承位 */
    @Excel(name = "后轴承位")
    private String rearBearing;

    /** 螺丝 */
    @Excel(name = "螺丝")
    private String screw;

    /** 齿 */
    @Excel(name = "齿")
    private String teeth;

    /** 正反齿 */
    @Excel(name = "正反齿")
    private String gearType;

    /** 键槽 (是否有键槽) */
    @Excel(name = "键槽 (是否有键槽)")
    private String keyway;

    /** 卡簧 (是否有卡簧) */
    @Excel(name = "卡簧 (是否有卡簧)")
    private String circlip;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;



    private String state;

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }


    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setCode(String code) 
    {
        this.code = code;
    }

    public String getCode() 
    {
        return code;
    }

    public void setCategory(String category) 
    {
        this.category = category;
    }

    public String getCategory() 
    {
        return category;
    }

    public void setBrand(String brand) 
    {
        this.brand = brand;
    }

    public String getBrand() 
    {
        return brand;
    }

    public void setModel(String model) 
    {
        this.model = model;
    }

    public String getModel() 
    {
        return model;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public String getImage() {
        return image;
    }

    public void setCoreDiameter(String coreDiameter) 
    {
        this.coreDiameter = coreDiameter;
    }

    public String getCoreDiameter() 
    {
        return coreDiameter;
    }

    public void setTotalLength(String totalLength) 
    {
        this.totalLength = totalLength;
    }

    public String getTotalLength() 
    {
        return totalLength;
    }

    public void setBearingDistance(String bearingDistance) 
    {
        this.bearingDistance = bearingDistance;
    }

    public String getBearingDistance() 
    {
        return bearingDistance;
    }

    public void setFrontBearing(String frontBearing) 
    {
        this.frontBearing = frontBearing;
    }

    public String getFrontBearing() 
    {
        return frontBearing;
    }

    public void setRearBearing(String rearBearing) 
    {
        this.rearBearing = rearBearing;
    }

    public String getRearBearing() 
    {
        return rearBearing;
    }

    public void setScrew(String screw) 
    {
        this.screw = screw;
    }

    public String getScrew() 
    {
        return screw;
    }

    public void setTeeth(String teeth) 
    {
        this.teeth = teeth;
    }

    public String getTeeth() 
    {
        return teeth;
    }

    public void setGearType(String gearType) 
    {
        this.gearType = gearType;
    }

    public String getGearType() 
    {
        return gearType;
    }

    public void setKeyway(String keyway) 
    {
        this.keyway = keyway;
    }

    public String getKeyway() 
    {
        return keyway;
    }

    public void setCirclip(String circlip) 
    {
        this.circlip = circlip;
    }

    public String getCirclip() 
    {
        return circlip;
    }

    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("code", getCode())
            .append("category", getCategory())
            .append("brand", getBrand())
            .append("model", getModel())
            .append("image", getImage())
            .append("coreDiameter", getCoreDiameter())
            .append("totalLength", getTotalLength())
            .append("bearingDistance", getBearingDistance())
            .append("frontBearing", getFrontBearing())
            .append("rearBearing", getRearBearing())
            .append("screw", getScrew())
            .append("teeth", getTeeth())
            .append("gearType", getGearType())
            .append("keyway", getKeyway())
            .append("circlip", getCirclip())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
